package com.zhuangxiaoyan.helloworld.controller;

import org.springframework.http.server.reactive.HttpHandler;
import org.springframework.stereotype.Component;
import org.springframework.web.HttpRequestHandler;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Classname HandlerController
 * @Description TODO
 * @Date 2022/5/5 22:19
 * @Created by xjl
 */
@Component("/Handler.do")
public class HandlerController implements HttpRequestHandler {
    @Override
    public void handleRequest(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException {
        System.out.println("HandlerController………………");
    }
}
